package org.jeecg.modules.demo.sermanager.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.sermanager.entity.NetptJobSer;
import org.jeecg.modules.demo.sermanager.entity.NetptJobDetection;
import org.jeecg.modules.demo.sermanager.entity.NetptJobIplist;
import org.jeecg.modules.demo.sermanager.entity.NetptJobRet;
import org.jeecg.modules.demo.sermanager.entity.NetptJob;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: netpt_job
 * @Author: jeecg-boot
 * @Date:   2022-01-07
 * @Version: V1.0
 */
public interface INetptJobService extends IService<NetptJob> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(NetptJob netptJob,NetptJobSer netptJobSer,List<NetptJobDetection> netptJobDetectionList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(NetptJob netptJob,NetptJobSer netptJobSer,List<NetptJobDetection> netptJobDetectionList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);


	public IPage<NetptJob> findNetptJobList(IPage<NetptJob> page, @Param(Constants.WRAPPER) QueryWrapper<NetptJob> queryWrapper);


}
